<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<title>Document</title>
	<style type="text/css">
		body{
			margin:0px;
		}

		
		.con a{
			
			display:block;
			/*width:25%;*/
			width:calc(25% - 2px);
			height: 100px;
			background-color:pink;
			text-align:center;
			line-height:100px;
			font-size: 20px;
			float:left;
			text-decoration:none; 

			border:1px solid red;

			/*box-sizing:border-box; 加边框和padding为盒子自身的大小不变*/


		}


	</style>
</head>
<body>
	<div class="con">
		<a href="#">菜单文字</a>
		<a href="#">菜单文字</a>
		<a href="#">菜单文字</a>
		<a href="#">菜单文字</a>
	</div>
</body>
</html>